import * as apiService from '@/services/api'

/**
 * 添加虚拟代理
 * @param params
 * @returns {Promise<*>}
 */
const virtualAgencyAddApi = params => {
  return apiService.post(api.VIRTUAL_AGENCY_ADD, params);
};
/**
 * 查询虚拟代理
 * @param params
 * @returns {Promise<*>}
 */
const virtualAgencyQueryApi = params => {
  return apiService.post(api.VIRTUAL_AGENCY_QUERY, params);
};
/**
 * 添加虚拟会员
 * @param params
 * @returns {Promise<*>}
 */
const virtualMemberAddApi = params => {
  return apiService.post(api.VIRTUAL_MEMBER_ADD, params);
};

/**
 * 查询虚拟会员
 * @param params
 * @returns {Promise<*>}
 */
const virtualMemberQueryApi = params => {
  return apiService.post(api.VIRTUAL_MEMBER_QUERY, params);
};


export {
  virtualAgencyAddApi,
  virtualAgencyQueryApi,
  virtualMemberAddApi,
  virtualMemberQueryApi,
}
